//
//  YCAlertView4ViewController.m
//  DemoAlertView
//
//  Created by 唐可雄 on 16/9/27.
//  Copyright © 2016年 tangkexiong. All rights reserved.
//

#import "YCAlertView4ViewController.h"

#import "YCTestAlertView.h"

@interface YCAlertView4ViewController ()

@end

@implementation YCAlertView4ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    UIButton *btn4 = [[UIButton alloc] initWithFrame:CGRectMake(8, 92, 200, 44)];
    [btn4 setTitleColor:[UIColor blackColor] forState:UIControlStateNormal];
    [btn4 setTitleColor:[UIColor grayColor] forState:UIControlStateHighlighted];
    [btn4 setTitle:@"提示对话框" forState:UIControlStateNormal];
    [btn4 addTarget:self action:@selector(btn4Clicked:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:btn4];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (void)btn4Clicked:(id)sender {
    YCTestAlertView *dlg = [YCTestAlertView instance];
    [dlg show];
}

@end
